import request from './request.js';
let service = request.service;
let formatterUrl = request.formatterUrl;
export default {
/**生产任务列表*/ 
  productionTaskList(data){
    return service({
      url: `/adscm/operation/plan/planTaskTotal/selectPlanTaskTotal`,
      method: 'post',
      data
    })
  },
  productionTaskListA(data){
    return service({
      url: `/adscm/operation/plan/productManage/selectProcessTask`,
      method: 'post',
      data
    })
  },
  /**生产工序记录列表*/ 
  productionRecordList(data) {
    return service({
      url: `/adscm/operation/plan/planTaskProcessDetail/selectByTid`,
      method: 'post',
      data
    })
  },
  /**生产工序记录列表*/
  updateProductionRecord(data) {
    return service({
      url: `/adscm/operation/plan/planTaskProcessDetail/update`,
      method: 'post',
      data
    })
  },
  planTaskProcessRecordList(data) {
    return service({
      url: `/adscm/operation/plan/planTaskProcessRecord/select`,
      method: 'post',
      data
    })
  },
  /***修改工序记录详情 */
  updateProcessRecord(data) {
    return service({
      url: `/adscm/operation/plan/planTaskProcessRecord/update`,
      method: 'post',
      data
    })
  },
  /**外协详情记录*/ 
  wxDetailUpdate(data) {
    return service({
      url: `/adscm/operation/plan/planTaskProcessDetail/update`,
      method: 'post',
      data
    })
  }
  
}